home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO Outlook 1.xpl < prev    next >
Text File  |  2000-07-27  |  1KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office 97"
  5. "NAME"="Outlook Logging"
  6. "VERSION"="1.14"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Log SMTP and POP3 communication"
  9. "DESCRIPTION 1"="If the first option is activated, Outlook will log all its communication with the server(s)."
  10. "DESCRIPTION 2"="These logs can be found in your TEMP folder "Outlook Logging" (for example: C:\TEMP\Outlook Logging)."
  11. "DESCRIPTION 3"="If you don't need them anymore, you should turn this feature off to save HD space."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16.  
  17.  
  18. sPath1="HKCU\Software\Microsoft\Office\8.0\Outlook\Options\Mail\"
  19. sValue1="Logging"
  20.  
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(sPath1) then
  23.  
  24.   i=RegReadValue(sPath1 & sValue1)
  25.   if i=1 then
  26.    Call SetUIElement(1,True)
  27.   end if
  28.  
  29.  else
  30.    Disable
  31.  end if
  32. End Sub
  33.  
  34. Sub Plugin_CheckData(ElementIndex)
  35. End Sub
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  i=GetUIElement(1)
  39.  if i=true then
  40.   Call RegWriteValue(sPath1 & sValue1,1,2)
  41.  else
  42.   Call RegWriteValue(sPath1 & sValue1,0,2)
  43.  end if
  44. End Sub
  45.  
  46. Sub Plugin_Terminate 
  47. End Sub
  48.